--- title: Responsive Design metaDescription: Amplify UI supports responsive design out of the box. Build responsive layouts in your applications using responsive style props with the built-in set of breakpoints, write custom media queries in CSS, or use the Flex and Grid components. supportedFrameworks: react|angular|vue --- import { Fragment } from '@/components/Fragment'; import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; export async function getStaticPaths() { return getCustomStaticPath(frontmatter.supportedFrameworks); } {/* `getStaticProps` is required to prevent "Error: getStaticPaths was added without a getStaticProps. Without getStaticProps, getStaticPaths does nothing" */} export async function getStaticProps() { return { props: {} } } {({ platform }) => import(`./${platform}.mdx`)}